namespace Example.Multitenancy.Default
{
    using System.Net;
    using SimpleWebServices.Net;
    using Xunit;

    public sealed class StylesheetsFacts
    {
        [Fact]
        public void Get_Screen_CssRepresentation()
        {
            Assert.True(HttpExpectations.New("http://example.simplewebservices.org/-/screen.css")
                .AcceptAnyContent()
                .AcceptAnyLanguage()
                .Cookieless()
                .Get()
                .Is(HttpStatusCode.OK)
                .HasCacheControlPublic()
                .WithEtag()
                .IgnoreContentLanguage()
                .HasContentMD5()
                .ResponseIsTextCss()
                .HasNoCookies()
                .Result);
        }

        [Fact]
        public void Get_Print_CssRepresentation()
        {
            Assert.True(HttpExpectations.New("http://example.simplewebservices.org/-/print.css")
                .AcceptAnyContent()
                .AcceptAnyLanguage()
                .Cookieless()
                .Get()
                .Is(HttpStatusCode.OK)
                .HasCacheControlPublic()
                .WithEtag()
                .IgnoreContentLanguage()
                .HasContentMD5()
                .ResponseIsTextCss()
                .HasNoCookies()
                .Result);
        }
    }
}